\PostmanEmailLogsMigration B

Total Complexity 94
Dependencies 1
Dependents 0
Total lines 696
Lines of code 377
Logical lines of code 168
Comment lines 115
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
notice()
D
31 36 116
__construct()
A
47 14 33
migrate_logs()
A
44 10 48
get_old_logs()
A
45 7 45
trash_all_old_logs()
S
51 4 28
remove_extra_keys()
S
53 3 24
update_database()
S
63 3 10
log()
S
63 3 10
get_migrated_count()
S
61 2 14
have_old_logs()
S
64 2 10
is_migrated()
S
69 2 7
switch_back()
S
68 2 7
switch_to_new()
S
68 2 7
create_log_file()
S
65 2 9
get_last_old_log()
S
71 1 6
enqueue_script()
S
78 1 3